<?php
/**
 * User: 五哥派
 * Date: 2024/7/1
 * Tel(同WX): 17335592719
 */
namespace app\api\model\store;

use app\api\model\Base;

class SpecsValue extends Base{

    protected $name = 'store_specs_value';

    public function getNormalBySpecsId($specsId, $field="*") {
        $where = [
            "specs_id" => $specsId,
            "status" => 1,
        ];

        $res = $this->where($where)
            ->field($field)
            ->select();
        return $res;
    }
}